//
//  PlayRadioTableViewCell.m
//  news
//
//  Created by lanou on 15/12/18.
//  Copyright © 2015年 lanou. All rights reserved.
//

#import "PlayRadioTableViewCell.h"
#import "PlayRadioModel.h"

@implementation PlayRadioTableViewCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        
        self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(30, self.bounds.size.height / 3.0, kWidth - 50, self.bounds.size.height)];
        self.titleLabel.font = [UIFont systemFontOfSize:15];
        [self.contentView addSubview:self.titleLabel];
        
    }
    return self;
}

- (void)setPlayRadioModel:(PlayRadioModel *)playRadioModel {
    
    if (_playRadioModel != playRadioModel) {
        _playRadioModel = playRadioModel;
        
        self.titleLabel.text = _playRadioModel.title;
    }
    
}




- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
